package com.dragon.modules.yuegou.service.member;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.member.ProRightsEntity;
import com.dragon.modules.yuegou.request.SaveProRightsByGoodsRequest;
import com.dragon.modules.yuegou.request.SaveProRightsByRightsRequest;

/**
 * 商品权益关联表 服务接口
 *
 * @author pbuilder generated
 * @date 2021-12-15 09:38:01
 * @version 2.0
 */
public interface ProRightsService extends IService<ProRightsEntity> {


    /**
     * 根据权益关联商品
     * @param request
     */
    void saveProRightsByRights(SaveProRightsByRightsRequest request);

    /**
     * 根据商品关联权益
     * @param request
     */
    void saveProRightsByGoods(SaveProRightsByGoodsRequest request);

}